package com.neusoft.neuiotms.dcom.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.DutyArrangementResultDTO;

public interface DutyArrangementResultService {

    List<DutyArrangementResultDTO> index(Searchable searchable);

    Page<DutyArrangementResultDTO> search(Pageable pageable, Searchable searchable);

    List<DutyArrangementResultDTO> createResults(Long dutyArrangementId);

    DutyArrangementResultDTO create(DutyArrangementResultDTO dto);

    DutyArrangementResultDTO update(Long id, DutyArrangementResultDTO dto);

    DutyArrangementResultDTO update(Long id, Date date);

    void delete(Long id);

    DutyArrangementResultDTO details(Long id);

    void groupOrder(Long id, Map<Long, Long> orderMap);

}
